<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>FINIAC | Finance Manager</title>
	<link rel="stylesheet" type="text/css" href="sdmenu/sdmenu.css" />
	<script type="text/javascript" src="sdmenu/sdmenu.js">
		/***********************************************
		* Slashdot Menu script- By DimX
		* Submitted to Dynamic Drive DHTML code library: http://www.dynamicdrive.com
		* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
		***********************************************/
	</script>
	<script type="text/javascript">
	// <![CDATA[
	var myMenu;
	window.onload = function() {
		myMenu = new SDMenu("my_menu");
		myMenu.init();
	};
	// ]]>
	</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
body {
	background-color: #F7F5E8;
	margin-left: 11px;
	margin-top: 4px;
}
-->
</style>


</head>

<body>

<div style="float: left" id="my_menu" class="sdmenu">

	
	
 <%if(request.getSession().getAttribute("userRole").equals("ADMIN") || request.getSession().getAttribute("userRole").equals("USER") ) {%>
<div>
		 
        <span>Stock </span>
        <a href="../stock/list.htm" target="mainFrame" class="menuLink "><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Add Stock</a>
          <a href="../stock/stockStatus.htm" target="mainFrame" class="menuLink "><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Stock Status</a>
        <%if(request.getSession().getAttribute("userRole").equals("ADMIN")) {%>
           <a href="../stock/setSellingPricePage.htm" target="mainFrame" class="menuLink "><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Set Selling Price</a>
           <%} %>
         </div>
      <div>
       <span>Point of Sale</span>
       <a href="../sales/createNewBill.htm" target="mainFrame" class="menuLink "><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >New Bill</a>       
       <a href="../sales/lastEntry.htm" target="mainFrame" class="menuLink "><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Last Entry</a>    
       <a href="../sales/viewPrevBill.htm" target="mainFrame" class="menuLink "><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Prev Entries by Bill no.</a>    
       <a href="../sales/listPartialPay.htm" target="mainFrame" class="menuLink "><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Partial Payment</a>
       <a href="../sales/searchPartialPay.htm" target="mainFrame" class="menuLink "><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Search Partial Payment</a></div>
<div>
        <span>Account Summary</span>
                 
        <a href="../account/dailyAccountSummary.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" > Daily</a>          
        <a href="../account/monthlyAccountSummary.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" > Monthly</a>
        
   </div>

                                      
            <%if(request.getSession().getAttribute("userRole").equals("ADMIN")) {%>  
    <div>
        <span>Manage Users </span>
                 
        <a href="../auth/addUserPage.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" > Manage User</a>                       
   </div>
<%} %>
<div>
       <span>Students</span>
        <a href="../student/addStudentPage.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Manage Student</a> 
</div>
<div>
       <span>Settings</span>
        <a href="../auth/changePasswordPage.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Change Password</a> 

        <a href="../sales/stockAlertPage.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Stock Alert</a> 
</div>
<%}else{ %>

      
     
 <div>
		<span>Student [FEE]</span>
				
				<a href="./fee/addStudentFeeStructurePage.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >New Student</a>
				<a href="../fee/listStudentFee.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >List Student Fee</a> 
		
</div>
        
<div>.
	<span>Daily Fee [FEE]</span>
					<a href="../fee/addDailyFeeReg.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Add Daily Fee</a>
				<a href="../fee/consolDailyFeeReg.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >List Fee</a> 
              </div>
         <div>
         <span>Regular Fee [FEE]</span>
		<a href="../fee/addRegularFeeReg.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Add Fee</a>
		<a href="../fee/listStudentFee.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >List Student Fee</a> 

         </div>         

<div>
       <span>Settings</span>
        <a href="../auth/changePasswordPage.htm" target="mainFrame" ><img src="../images/smallArrow.gif" width="13" height="11" border="0" align="absmiddle" >Change Password</a> 
</div>
<%} %>
</body>


</html>
